module.exports = [
  [/\/(temp|image)\/(thumbnail|original|mobile|pc)\/(\S+)/, 'admin/goods/image/:2?dir=:1&file=:3'],
  [/\/api\/(category|goods_specification|goods|manufacturer|image)\/([A-Za-z_]+)/, 'admin/goods/:1/:2'],
  [/\/api\/(category|goods_specification|goods|manufacturer|goods_specification)(?:\/(\d+))?/, 'admin/goods/:1?id=:2', 'rest'],
  [/\/api\/(community)\/([A-Za-z_]+)/, 'admin/shop/:1/:2'],
  [/\/api\/(community)(?:\/(\d+))?/, 'admin/shop/:1?id=:2', 'rest'],
  [/\/api\/(member_address|member)\/([A-Za-z_]+)/, 'admin/member/:1/:2'],
  [/\/api\/(member_address|member)(?:\/(\d+))?/, 'admin/member/:1?id=:2', 'rest'],
  [/\/api\/(user|role|menu|action)\/([A-Za-z_]+)/, 'admin/system/:1/:2'],
  [/\/api\/(user|role|menu|action)(?:\/(\d+))?/, 'admin/system/:1?id=:2', 'rest']
];
